#!/usr/bin/env node

const readline = require('readline/promises');
const rl = readline.createInterface({input:process.stdin,output:process.stdout})
const log=console.log;
const msg =['name','email','qq','mobile'];
const me={}

async function main() {
    for(let num=0;num<msg.length;num++){
        const answer =await rl.question(msg[num]+': ');
        me[msg[num]]=answer;
    }
    rl.close();
}

main().then(() => {
    log(me); 
});

